package com.awaken.content.service;

import com.awaken.content.models.dto.CategoryDTO;
import com.awaken.content.models.request.CategoryRequest;

import java.util.List;

public interface CategoryService {
    
    CategoryDTO createCategory(CategoryRequest request);
    
    CategoryDTO getCategoryById(Long id);
    
    List<CategoryDTO> getAllCategories();
    
    List<CategoryDTO> getCategoriesByParentId(Long parentId);
    
    CategoryDTO updateCategory(Long id, CategoryRequest request);
    
    void deleteCategory(Long id);
} 